@import "../../base/index";
html,
body {
  height: 100%;
}
body {
  min-width: 1200px;
  font-family: MicrosoftYaHei;
}
body a:hover {
  cursor: pointer;
  text-decoration: none;
}

// 右边具体内容
.mypoint.center {
  height: 900px;
  margin-left: 20px;
  width: 920px;
  background: #fff;
  position: relative;
  // 右边头部
  .mypoint-top{
    margin: 60px 0 0 60px;
    color: #333333;
    h2{
      font-size: 18px;
    }    
    .mypoint-balance{
      font-size: 12px;
      margin-top: 20px;
    }
    .mypoint-right{
      float: right;
      margin-right: 91px;
      font-size: 0px;
      margin-top: 10px;
      input{
        width: 180px;
        height: 30px;
        background-color: #fafafa;
        border-radius: 2px 0px 0px 2px;
        outline: none;
        border:none;
        font-size: 12px;
        padding-left: 11px;
      }
      button{
        width: 60px;
        height: 30px;
        background-color: #61b7fe;
        border-radius: 0px 2px 2px 0px;
        border: none;
        outline: none;
        color: #fff;
        font-size: 12px;
        vertical-align: top;
        cursor: pointer;
      }
      p{
        margin-top: 10px;
        font-size: 12px;
        color: #e9a665;
      }
    }
  } 
  // 表格
  .mypoint-table{
    margin-top: 42px;
    margin-bottom: 25px;
    tr{
      position: relative;
      &.table-first {
        display: inline-block;
        height: 30px;
        width: 920px;
        background-color: #eef1f4;
        th {
          display: inline-block;
          line-height: 30px;
          font-size: 12px;
          color: #999999;
          position: absolute;
          &:nth-child(1) {
            left: 60px;
          }
          &:nth-child(2) {
            left: 219px;
          }
          &:nth-child(3) {
            left: 398px;
          }
          &:nth-child(4) {
            left: 695px;
          }
        }
      }
      &:not(.table-first){
        display: inline-block;
        width: 880px;
        height: 60px;
        margin-left: 20px;
        line-height: 60px;
        font-size: 14px;
        color: #333333;
        box-shadow: inset 0px -1px 0px 0px rgba(214, 216, 229, 0.5);
        td{
          position: absolute;
          &:nth-child(1) {
            left: 40px;
          }
          &:nth-child(2) {
            left: 199px;
          }
          &:nth-child(3) {
            left: 378px;
          }
          &:nth-child(4) {
            left: 675px;
          }
        }
      }
    }

  }
  // 页码区
  .changepage{
    position: absolute;
    left: 60px;
    bottom: 45px;
    font-size: 0px;
    line-height: 20px;
    a{
      font-family: MicrosoftYaHei;
      font-size: 12px;
      color: #999999;
      float: left;
      margin-right: 20px;
      &:last-child{
        margin-right: 0px
      }
    }
    ul{
      float: left;
      margin-right: 20px;
      li.active a{
        width: 20px;
        height: 20px;
        background-color: #0398e5;
        border-radius: 4px;
        color: #fff;
        text-align: center;
      }
    }
  }
  // 新增收货地址
  .btnaddress{
    display: block;
    margin-top: 100px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 40px;
    background-color: #61b7fe;
    border-radius: 19px;
    font-size: 16px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
  }
}
// 右边具体内容:收货地址增加
.addaddress.center{
  display: none;
  height: 900px;
  margin-left: 20px;
  width: 920px;
  background: #fff;
  padding: 60px 0 0 60px;
  clear: both;
  h2{
    font-size: 16px;
    margin-bottom: 28px;
    color: #333333;
  }
  h3{
    margin-bottom: 31px;
    font-size: 12px;
    color: #999999;
  }
  .address-select{
    position: relative;
    margin-right: 29px;    
    width: 240px;
    height: 40px;
    display: inline-block;
    margin-bottom: 40px;
    &:last-child{
      margin-right: 0px;
    }
  }
  select{
    width: 240px;
    height: 40px;
    font-size: 12px;
    color: #333333;
    padding-left: 17px;
    appearance:none; 
    cursor: pointer; 
  }
  i{
    position: absolute;
    font-size: 8px;
    right: 22px;
    top: 15px;
    color: #000000;
  }
  & .box{
    width: 376px;
    height: 82px;
    float: left;
    margin-right: 34px;
    &:last-child{
      margin-right: 0px;
    }
    input{
      width: 376px;
      height: 40px;
      border-radius: 4px;
      border: solid 1px #eeeeee;
    }
  }
  h3.addaddress-last{
      margin-top: 122px;
  }
  input[name="address"]{
    width: 786px;
    height: 40px;
    border-radius: 4px;
    border: solid 1px #eeeeee;
  }
  input{
    padding-left: 10px;
    &:focus{
      border: 1px solid #61b7fe;
    }
  }
  .saveaddress{
    width: 160px;
    height: 40px;
    background-color: #61b7fe;
    border-radius: 20px;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    border: none;
    margin-top: 64px;
    margin-left: 380px;
    cursor: pointer;
  }
}